#ifndef _CDATETIME_T_H_
#define _CDATETIME_T_H_


#include <time.h>
#include <iostream>
#include <iosfwd>
#include <iomanip>
#include "cDate_t.h"
#include "cTime_t.h"

using namespace std;


class cDateTime_t : public cDate_t, public cTime_t {
	friend ostream& operator<<(ostream& os, const cDateTime_t& time);
	friend cDateTime_t operator+ (const cDateTime_t& time1, const cTime_t& time2);
	friend cDateTime_t operator+ (const cTime_t& time2, const cDateTime_t& time1);

private:



public:
	cDateTime_t();
	cDateTime_t(const int& day,const int& month,const int& year, const int &hour, const int &min, const int &sec);
	cDateTime_t(const cDateTime_t& mycTime);
	cDateTime_t &operator=(const cDateTime_t &other);

};

#endif //_CDATETIME_T_H_